package com.aoxon.cargo.service;

import java.util.HashMap;

import com.aoxon.cargo.bean.GsonBean;
import com.aoxon.cargo.util.DataUtil;

/**
 * 获取物品类别列表的服务
 * 
 * @author ZZJ
 * 
 */
public class GoodsFilterService extends MyService {

	/**
	 * 加载数据
	 * 
	 * @param oneStartIndex
	 * @param oneLength
	 * @param twoStartIndex
	 * @param twoLength
	 * @return
	 */
	public GsonBean execute(int oneStartIndex, int oneLength,
			int twoStartIndex, int twoLength) {

		url = "filterSort" + suffix;

		params = new HashMap<String, String>();
		params.put("oneStartIndex", String.valueOf(oneStartIndex));
		params.put("oneLength", String.valueOf(oneLength));
		params.put("twoStartIndex", String.valueOf(twoStartIndex));
		params.put("twoLength", String.valueOf(twoLength));
		DataUtil.gson.toJson("log:"+params);
		return doPost();
	}

}
